import request from '@/utils/request';

export const apiPrefix = '/api';
export const prevFilePath = apiPrefix + '/file/get?fileId=';

//  发送注册验证码
export const sendCode = (data: { email: string }) => {
  return request.post(`${apiPrefix}/base_server/user/sendCode`, data);
};
